// stores/useAgent.js 当前会话的智能体id和详情
import { defineStore } from "pinia";
import { ref } from "vue";
const useAgent = defineStore("useAgent", () => {
  const agentId = ref("");
  const agentInfo = ref({
    agentId: "",
    avatarUrl: "",
    nickname: "",
    voiceId: "",
    voiceName: "",
    type: "",
  });
  return {
    agentId,
    agentInfo,
  };
});

export default useAgent;
